package org.ix.gateway.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;

@Component
@ConfigurationProperties("ix.routes")
@Validated
public class RoutesProperties {

    private String routesVersionUrl;
    private String routesUrl;

    public String getRoutesVersionUrl() {
        return routesVersionUrl;
    }

    public void setRoutesVersionUrl(String routesVersionUrl) {
        this.routesVersionUrl = routesVersionUrl;
    }

    public String getRoutesUrl() {
        return routesUrl;
    }

    public void setRoutesUrl(String routesUrl) {
        this.routesUrl = routesUrl;
    }
}